module.exports = {
	table: 'uni-id-log',
	fields: [{
			type: 'string',
			key: 'appid',
			comment: 'appid'
		},
		{
			type: 'string',
			key: 'device_id',
			comment: '设备唯一标识'
		},
		{
			type: 'string',
			key: 'mobile',
			comment: '手机号'
		},
		{
			type: 'string',
			key: 'email',
			comment: '邮箱'
		},
		{
			type: 'string',
			key: 'ip',
			comment: 'ip'
		},
		{
			type: 'number',
			key: 'state',
			comment: '结果,0=失败,1=成功'
		},
		{
			type: 'string',
			key: 'username',
			comment: '用户名'
		},
		{
			type: 'string',
			key: 'user_id',
			comment: '用户id'
		},
		{
			type: 'string',
			key: 'type',
			comment: '类型:login,register,logout,'
		},
		{
			type: 'string',
			key: 'ua',
			comment: 'ua'
		},
		{
			type: 'number',
			key: 'create_date',
			comment: '创建时间'
		}
	]
}
